<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/23
  Time: 19:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加页面</title>
  <style>
    div {
      width: 600px;
      margin: 1em auto;
      padding: 10px;
      background: mediumpurple;
      text-align: center;
    }
    input {
      height: 30px;
    }
    button {
      height: 30px;
    }
  </style>
</head>
<body>
<div>
  <form class="a-form" action="${r}/phone/add" method="post">
  <h2>添加页面</h2>
    <input type="text" name="name" placeholder="请输入手机名"><br><br>
    <input type="number" name="price" placeholder="请输入价格"><br><br>
    <input type="text" name="model" placeholder="请输入型号"><br><br>
    <input type="text" name="color" placeholder="请输入颜色"><br><br>
    <input type="text" name="origin" placeholder="请输入产地"><br><br>
    <button>添加</button>
  </form>
  <a href="/phone/list">返回首页</a>
</div>
</body>
</html>
